package routers

import (
	"github.com/gin-gonic/gin"
	"permange/controllers"
)

func departmentRouter(r *gin.RouterGroup) {
	r.GET("/Department", controllers.Getdepartment)
	r.GET("/Department1", controllers.Getdepartment_e)
	r.DELETE("/Department", controllers.Deldepartment)
	r.PUT("/Department", controllers.Updatedepartment)
	r.POST("/Department", controllers.Adddepartment)
}